import { MessageApi } from '@/api'
import CommonModel from './common'

class MessageModel extends CommonModel {
    constructor() {
        super()
        this.api = new MessageApi()
    }
    list(data) {
        return this.api.list(data)
    }
    read(data) {
        return this.api.read(data)
    }
    statistics() {
        return this.api.statistics()
    }
}

export default MessageModel
